.custom-carousel .carousel-slides .slide:not(.active) {
  display: none;
  opacity: 0;
  transition: all 0.5s ease;
}

.custom-carousel .carousel-slides .slide.active {
  animation: fadeIn 2s ease-out;
  -webkit-animation: fadeIn 2s ease-out;
  -moz-animation: fadeIn 2s ease-out;
  -o-animation: fadeIn 2s ease-out;
  -ms-animation: fadeIn 2s ease-out;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.custom-carousel .carousel-slides .slide a div:hover {
  color: var(--color-green) !important;
}

.custom-carousel a {
  text-decoration: none; /* no underline */
}

.carousel-button-wrapper button:hover {
  color: var(--color-green);
}

.custom-carousel .carousel-image-wrapper {
  width: 100%;
  height: 40vh;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0;
}

.custom-carousel img {
  width: 100%;
  height: 40vh;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.custom-carousel img:hover {
  transform: scale(1.1);
}

.custom-carousel .carousel-button-wrapper {
}

.custom-carousel .carousel-button-wrapper button {
  margin: 0 10px;
  background-color: transparent !important;
  box-shadow: 0 0 0 0 transparent !important;
  border: 0;
}

.custom-carousel .carousel-dot-wrapper {
}

.custom-carousel .carousel-dot-wrapper .dot {
  width: 15px !important;
  height: 15px !important;
  border-radius: 15px !important;
  border: 2px solid var(--color-green-dark) !important;
  margin-right: 6px;
  transition: transform 0.5s ease;
}

.custom-carousel .carousel-dot-wrapper .dot:hover,
.custom-carousel .carousel-dot-wrapper .dot.active {
  background-color: var(--color-green-dark) !important;
}

.custom-carousel .carousel-dot-wrapper .dot.active {
  animation: fadeIn 0.2s ease-in;
  -webkit-animation: fadeIn 0.2s ease-in;
  -moz-animation: fadeIn 0.2s ease-in;
  -o-animation: fadeIn 0.2s ease-in;
  -ms-animation: fadeIn 0.2s ease-in;
}
